﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MediatR;
using Traceability.Register.ErrorCode.Result;

namespace Traceability.Register.Application.Commonds.TraceabilityManagementCommonds
{
    /// <summary>
    /// 添加养殖信息请求命令
    /// </summary>
    public class InsertBreedingsCommond:IRequest<ApiResult>
    {
        /// <summary>
        /// 品种
        /// </summary>
        public string Bread { get; set; } = string.Empty;
        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; } = string.Empty;
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedingDay { get; set; }
        /// <summary>
        /// 饲养品牌
        /// </summary>
        public string BreedingBrand { get; set; } = string.Empty;
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string HeadFeeder { get; set; } = string.Empty;
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime PublicationDate { get; set; }
        /// <summary>
        /// 溯源编号
        /// </summary>
        public int TraceabilityId { get; set; }
    }
}
